package taskManagerIncrement3TEST;

import static org.junit.Assert.*;  

import org.junit.Test;
import taskManagerSystem.ControllerSubsystem.Controller;
import taskManagerSystem.ControllerSubsystem.TaskTableListener;
import taskManagerSystem.ModelSubsystem.Model;
import taskManagerSystem.ModelSubsystem.Person;
import taskManagerSystem.ModelSubsystem.Task;
import taskManagerSystem.ViewSubsystem.Table;
import taskManagerSystem.ViewSubsystem.TableMod;
import taskManagerSystem.ViewSubsystem.View;

public class ControllerTEST1 {
  
	Model model;
	View view;
	Controller control;
	Task task;
	Table table;
	Person person;
	TableMod TableModel;
	TaskTableListener tLis;
	
	@Test
	public void testController() {
	}

	@Test
	public void testControllerModelView() {
		model = new Model();
		view = new View(model);
		control = new Controller(model, view);
		tLis = new TaskTableListener(model, view);		
	}


	@Test
	public void testStart() {
		model = new Model();
		view = new View(model);
		control = new Controller(model, view);
		control.start();
		assertNotNull(view.isVisible());
	}

}
